<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>多选框</h1>
    <h2>兴趣爱好</h2>
    <div>
        <input type="checkbox" name="a" id="a1" checked="checked">
        <label for="a1">抽烟</label>
    </div>
    <div>
        <input type="checkbox" name="a" id="a2">
        <label for="a2">喝酒</label>
    </div>
    <div>
        <input type="checkbox" name="a" id="a3">
        <label for="a3">烫头</label>
    </div>
</body>
</html>